<!DOCTYPE html>
<html>

<head>
<meta charset="utf-8">
<title>${shop.name!""}</title>
<link rel="stylesheet" href="${siteurl}assets/css/www-pkg.css" />
[#include "/theme/yelp/common/scripts.html"]
<link rel="stylesheet"
	href="${siteurl}/assets/plugs/kindeditor/themes/default/default.css" />
<script charset="utf-8"
	src="${siteurl}/assets/plugs/kindeditor/kindeditor-min.js"></script>
<script charset="utf-8"
	src="${siteurl}/assets/plugs/kindeditor/lang/zh_CN.js"></script>
</head>

<body class="country-hk logged-out ytype jquery" id="yelp_main_body"
	ryt13230="1">

	<div id="fb-root"></div>

	<div class="lang-en" id="wrap">



		[#include "/theme/yelp/common/header.html"]

		<div id="print-masthead">
			<img alt="Yelp" class="print-bkg-img"
				src="http://s3-media2.fl.yelpcdn.com/assets/2/www/img/b7e9d647188d/gfx/header_print.gif">
		</div>

		<span class="offscreen" id="page-content">&nbsp;</span>

		<div class="main-content-wrap main-content-wrap--box">

			<div class="content-container" id="super-container">


				<div id="alert-container"></div>


				<div class="container user_biz_photo">
					<div class="clearfix layout-block layout-full">
						<div class="column column-alpha ">
							<div id="user_biz_photo_intro">
								<h2>
									<a href="${siteurl}/shop/view.htm?id=${shop.id}">${shop.name!""}</a> 新增相片
								</h2>

								<a
									href="${siteurl}/shop/photos.htm?id=${shop.id}">查看全部相片</a><br>
								<br>
							</div>


					





							<div id="html-uploader">





									<form action="${siteurl}/shop/addphoto.htm" class="yform ytype" enctype="multipart/form-data" id="upload_new_photo" method="POST" name="upload_new_photo">
										<input type="hidden" name="shop.id"  value="${shop.id}">
										<input type="hidden" name="id" value="${shop.id}">
										 <label>選擇檔案上載</label>
												<div>
										<input type="text" style="display: inline-block; width: 300px" value="" id="url1" readonly="readonly" required="required" name="url"> <input type="button" value="选择图片" id="image1">
									</div>
										
										
										
										 <label for="caption">新增一個說明字幕</label>

										<textarea name="messages"></textarea>


										<button name="action_submit" type="submit" value="Add Photo" class="ybtn ybtn-primary ybtn-small ytype">
											<span>新增相片</span>
										</button>
									</form>
								</div>







						</div>
					</div>
				</div>
			</div>
		</div>

		<!-- google_ad_section_start(weight=ignore) -->
		<!-- <a href="/biz/outlook-autumn-market-fundamental-catwalk-flimsy-roost-legibility-individualism-grocer-predestination-2">yelp</a> -->
		[#include "/theme/yelp/common/footer.html"]


	</div>


<script type="text/javascript">
KindEditor.ready(function(K) {
	var editor = KindEditor.editor({
		allowFileManager : true,
		uploadJson : '${siteurl}/image/upimgwork.htm'
	});
	K('#image1').click(
			function() {
				editor.loadPlugin('image', function() {
					editor.plugin.imageDialog({
						imageUrl : K('#url1').val(),
						clickFn : function(url, title, width, height,
								border, align) {
							K('#url1').val(url);
							editor.hideDialog();
						}
					});
				});
			});
});

</script>
</body>

</html>